package com.p2p.bill.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.p2p.account.dao.OnlineDao;
import com.p2p.bill.dao.BillDao;
import com.p2p.bill.mapper.BillMapper;
import com.p2p.bill.po.Bill;
import com.p2p.bill.service.BillService;
import com.p2p.bill.vo.BillSellect;
import com.p2p.bill.vo.BillUpdate;
import com.p2p.common.base.BaseServiceImpl;
import com.p2p.daily.po.P2pDailyOutput;
import com.p2p.port.mapper.PortMapper;
import com.p2p.port.po.MonitorPort;

@Service
public class BillServiceImpl extends BaseServiceImpl<BillMapper, Bill> implements BillService {
	@Autowired
	private BillDao billDao;

	@Override
	public void putbill(String date_time) {
		billDao.putBill(date_time);

	}

	@Override
	public List<BillSellect> getBill(String agentid, String date_time) {
		// TODO Auto-generated method stub
		return billDao.getBill(agentid,date_time);
	}

	@Override
	public void updateBill(P2pDailyOutput p2pDailyOutput) {
		billDao.updateBill(p2pDailyOutput);
		
	}

	@Override
	public void updateAllBill(List<BillUpdate> list) {
		billDao.updateAllBill(list);
		
	}

	@Override
	public void updateRelease(List<BillUpdate> list) {
		billDao.updateRelease(list);
		
	}
	
	

}
